﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EraNet.Core.Model.Messages;
using System.Data.Entity.ModelConfiguration;

namespace EraNet.Data.Mapping.Messages
{
     public partial class NoticesMap : EntityTypeConfiguration<Notices>
    {
        public NoticesMap()
        {
            this.ToTable("Era_Notices");
            this.HasKey(a => a.Id);
            this.Property(a => a.Title).IsRequired();
        }
    }
}
